home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / PVDRIVER / SS24X2.ZIP / BATCH / WIN31.BAT < prev   
DOS Batch File  |  1992-08-17  |  1KB  |  47 lines

  1. @echo off
  2. rem  ======================================================================
  3. rem  Windows 3.1 Install for SpeedStar 24X
  4. rem  Diamond Computer Systems, Inc.   (c) 1992
  5. rem  ======================================================================
  6. rem  %1 contains destination directory
  7. rem  %2 contains current path of GIS.EXE
  8. rem  Windows drivers should be on a separate disk
  9. rem  .
  10. rem  *** WARNING ***
  11. rem  This file MUST be used in conjunction with the SpeedStar 24X 
  12. rem  Installation Program.  Disk contents may be altered if this is not
  13. rem  followed.
  14. rem  .
  15.  
  16. rem ** Check for 1810k of free space
  17. ds %1 1810
  18. if errorlevel==2 goto InstallError
  19.  
  20. rem ** Check for directory existance
  21. cls
  22. md2 %1 > nul
  23. if errorlevel==1 goto InstallError
  24. if errorlevel==0 goto CopyFiles
  25.  
  26. :CopyFiles
  27. rem ** Directory is made, change disks
  28.  
  29. :DoItAgain
  30. rem ** Call for Disk 2 with Windows 3.1 drivers
  31. cls
  32. echo Insert SpeedStar 24X Disk 2 into your floppy drive.
  33. echo.
  34. pause
  35. if not exist \shared.exe goto DoItAgain
  36. %2\batch\w31.bat %1 %2
  37. goto Quit
  38.  
  39. :InstallError
  40. cls
  41. echo An installation error has occured.  Please make sure you have 1810k
  42. echo of free memory available on the destination drive.  
  43. echo.
  44. echo Driver files have NOT been copied.  Please re-run the install program.
  45.  
  46. :Quit
  47.